package com.xzz.experiment.XuanKe;

import javax.naming.Name;

public class Teacher extends People{


    public Teacher(String TeacherId, String TeacherName, String sex) {
        this.sex = sex;

        this.Name = TeacherName;

        this.Id = TeacherId;

    }
    public void show(){
        System.out.println("教师信息如下：");
        System.out.println("教师编号 | 教师姓名 | 教师性别");
        System.out.println(" "+Id+"       "+Name+"       "+sex);
    }


}
